package com.panfeng.xcloud.boss.provider.member.config;

import lombok.Data;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * GeetestWeb配置文件
 *
 * @author xiaobo
 * @date 2019-05-22
 */
@Configuration
@ConditionalOnExpression("!'${geetest.sliding-verification}'.isEmpty()")
@ConfigurationProperties(prefix = "geetest.sliding-verification")
@Data
public class GeetestConfig {

	// 填入自己的captcha_id和private_key
	private String geetest_id = "ae27b5d52b014dde5ac907a56a391c3c";
	private String geetest_key = "502bc84c5d9aa78dd00b8dc5fb07ffac";
	private Boolean newfailback = true;

}
